using System;
using System.Collections.Generic;

using Matchingo.Common.Types.Types;

namespace Matchingo.Common.Types.EventArguments
{
	/// <summary>
	/// Arguments for the Matchingo GetHighScores event
	/// </summary>
	/// <author>Michael Urvan</author>
	/// <revision>1.0</revision>
	/// <remarks>
	/// First added 7/24/09 - Web service calls are asynchronous, this is a Matchingo internal event we use to signal 
	/// that the web service call has returned the data. This event is not fired or used by the web service
	/// </remarks>
	public class GetHighScoresCompletedEventArgs : EventArgs
    {
		public int CardCount { get; set; }
		public List<Game> GameRecords { get; private set; }

		public GetHighScoresCompletedEventArgs(List<Game> games)
        {
			GameRecords = new List<Game>();
			GameRecords.AddRange(games);
        }
    }
}
